package com.dk.service;

import com.dk.pojo.TRole;

import java.util.List;

public interface RoleService {
    List<TRole> getInfo();

    boolean addInfo(TRole role, Integer[] menuId);

    boolean deleteById(Integer rid);

    TRole getInfoById(Integer roleId);

    Boolean updateInfo(TRole role, Integer[] menuId);

    List<Integer> getUserRoleById(Integer pid);
}
